﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace MapTrackerApp
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private static string query = string.Empty;

        protected override void OnStartup(StartupEventArgs e)
        {
            foreach (var arg in e.Args)
            {
                query += string.Format("{0} ", arg);
            }
            query = query.Trim();

            base.OnStartup(e);  
        }

        public static string GetQuery { get { return query; } }
    }
}
